package com.wzl.day24;

public class Hello {
    public void test() {
        int i = 8;
        while ((i -= 3) > 0);
        System.out.println("i = " + i);
    }
   public void foo(StringBuffer b){
        b.append("1");
   }

    public static void main(String[] args) {
        Hello hello = new Hello();
//        for (int i = 0; i < 50_000; i++) {
//            hello.test();
//        }
        StringBuffer s = new StringBuffer("b");
        hello.foo(s);
        System.out.println(s.toString());
    }
}